home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Programming / ace_gpl_release / src / lib / asm / string_data.s < prev    next >
Encoding:
Text File  |  1998-10-04  |  2.1 KB  |  105 lines

  1. ;
  2. ; Data/BSS references for string.s.
  3. ; Copyright (C) 1998 David Benn
  4. ; This program is free software; you can redistribute it and/or
  5. ; modify it under the terms of the GNU General Public License
  6. ; as published by the Free Software Foundation; either version 2
  7. ; of the License, or (at your option) any later version.
  8. ;
  9. ; This program is distributed in the hope that it will be useful,
  10. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ; GNU General Public License for more details.
  13. ;
  14. ; You should have received a copy of the GNU General Public License
  15. ; along with this program; if not, write to the Free Software
  16. ; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17. ;
  18. ; Author: David J Benn
  19. ;   Date: 19th March 1994,
  20. ;      12th July 1994
  21. ;
  22.  
  23. MAXSTRINGSIZE equ 1024
  24.  
  25.     xdef    _shorthexfmt
  26.     xdef    _longhexfmt
  27.     xdef    _zerostr
  28.     xdef    _colonstr
  29.     
  30.     xdef    _tmpstring
  31.     xdef    _deststraddr
  32.     xdef    _count
  33.     xdef    _negate
  34.     xdef    _argstring
  35.     xdef    _ucasestring
  36.     xdef    _spacestraddress
  37.     xdef    _stringstraddress
  38.     xdef    _octdigit
  39.     xdef    _bindigit
  40.     xdef    _inkeybuf
  41.     xdef    _rawinpbuf
  42.     xdef    _rawinpaddr
  43.     xdef    _instrposn
  44.     xdef    _search_offset
  45.     xdef    _targetch
  46.     xdef    _x_string
  47.     xdef    _y_string
  48.     xdef    _x_strlen
  49.     xdef    _y_strlen
  50.  
  51.     SECTION string_data,DATA
  52.  
  53. ; * general *
  54. _shorthexfmt:     dc.b '%x',0
  55. _longhexfmt:    dc.b '%lx',0
  56. _zerostr:    dc.b '0',0
  57. _colonstr:    dc.b ':',0
  58.  
  59. ; *************************
  60.  
  61.     SECTION string_mem,BSS
  62.  
  63. ; * general *
  64. _tmpstring:            ds.b MAXSTRINGSIZE
  65. _deststraddr:        ds.l 1
  66. _count:                  ds.l 1
  67. _negate:              ds.b 1
  68.  
  69. ; * arg *
  70. _argstring:        ds.l 1    ; see _argbuf in startup.s
  71.  
  72. ; * ucase *
  73. _ucasestring:        ds.l 1
  74.  
  75. ; * spacestring *    
  76. _spacestraddress:    ds.l 1
  77.  
  78. ; * stringstr *    
  79. _stringstraddress:    ds.l 1
  80.  
  81. ; * octstr *
  82. _octdigit:        ds.b 11
  83.  
  84. ; * binstr *
  85. _bindigit:        ds.b 32
  86.  
  87. ; * inkey *
  88. _inkeybuf:        ds.b 2
  89.  
  90. ; * RAW: input *
  91. _rawinpbuf:        ds.b 1
  92. _rawinpaddr:        ds.l 1
  93.  
  94. ; * instr *
  95. _instrposn:        ds.l 1
  96. _search_offset:        ds.l 1
  97. _targetch:        ds.b 1
  98. _x_string:        ds.l 1
  99. _y_string:        ds.l 1
  100. _x_strlen:        ds.l 1
  101. _y_strlen:        ds.l 1
  102.  
  103.     END
  104.